package cn.edu.njuit.children.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @TableName sys_children_vaccine
 */
@TableName(value ="sys_children_vaccine")
@Data
public class ChildrenVaccine implements Serializable {
    /**
     * 编码
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联宝宝
     */
    @TableField(value = "cd_id")
    private Long cdId;

    /**
     * 关联疫苗
     */
    @TableField(value = "cd_vaccine")
    private Long cdVaccine;

    /**
     * 接种时间
     */
    @TableField(value = "Inoculation time")
    private Date inoculationTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
